<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<taglib name='Message'/>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Login</title>
	<link rel='stylesheet' type='text/css' href="__PUBLIC__/Css/bootstrap.css">
	<link rel='stylesheet' type='text/css' href="__PUBLIC__/Css/Home/login.css">
	<load href='__PUBLIC__/Js/jquery.js' />
	<script>
		$(function(){
				$("img[class='submit']").click(function(){
					$("form[name='myForm']").submit();	
				});	
				$('img[class="register"]').click(function(){
					window.location='__APP__/Register/register';		
				})
		})
	</script>

	<style>
	</style>
</head>
<body>
<div id='main' class='container'>
	<h1 class='form-signin-heading'>
		<center>登录</center>
	</h1>
	<form class='form-signin' role='form' action="__APP__/Login/doLogin" method='post' name='myForm'>
		
		<div class='control-group'>
			<label class='control-label' for='inputUsername'>用户名：</label>
			<div class='controls'>
				<input class='form-control'id='inputUsername' type='text' name='username' placeholder='请输入用户名'/> 
			</div>
		</div>

		<div class='control-group'>
			<label class='control-label' for='inputPwd'>密　码：</label>
			<div class='controls'>
				<input class='form-control' type='password' name='password' placeholder='请输入密码' id='inputPwd'>
			</div>
		</div>

		<div class='control-group'>
			<label for="inputVerify" class='control-label inline'>验证码：</label>
			<div  class='inline controls'>
				<input  class='form-control' id='inputVerify' type='text' name='verify'/> 
				<message:code width='80' height='40' />
			</div>
		</div>
		<center>
				<button type="submit" class="btn btn-primary ">登录</button>
				&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
				<a href="__APP__/Register/register" class="btn btn-info">注册</a>
		</center>
	</form>
</div>
</body>
</html>
